package edu.vital.energy.longevity.ch07.controller;

import edu.vital.energy.longevity.ch07.domain.Address;
import edu.vital.energy.longevity.ch07.domain.Family;
import edu.vital.energy.longevity.ch07.domain.Person;
import edu.vital.energy.longevity.ch07.repository.PersonRepository;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * PersonController
 *
 * @auther FengJinJian
 * @version 1.0.1
 * @date 2025/4/5 21:25
 */
@RestController
@Tag(name = "PersonController", description = "PersonController")
public class PersonController {



    @GetMapping("/selectPerson")
    @ResponseBody
    public String selectPerson(@RequestParam String cityId) {

        return "1";
    }
}